Repository navigation
Some tx mgmt example cleanup/standardization - #1640
Merged
Merged
Conversation
|
No dependency changes detected. Learn more about Socket for GitHub. 👍 No dependency changes detected in pull request |
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Unresolved issues break frozen-lockfile installs, expose unauthenticated wallet transfers, misreport failed transactions as successful, and allow stale balances to be paired with the wrong sender or network.
No open issues 🎉
What changed in this PR
This PR standardizes example names and locations across the SDK repository and removes introductory access notices from the Earn and Swap documentation.
Changes:
- Relocates the webhook and EVM paymaster examples to
with-transaction-webhooksandwith-evm-paymaster. - Moves the swap example to
with-swapand updates its setup path. - Removes introductory early-access and closed-beta notices from the Earn and Swap READMEs.
| File | Description |
|---|---|
examples/transaction-management/with-transaction-webhooks/tsconfig.json |
TypeScript configuration at the renamed location. |
examples/transaction-management/with-transaction-webhooks/src/scripts/register-webhook.ts |
Relocates webhook registration tooling. |
examples/transaction-management/with-transaction-webhooks/src/lib/webhook-events.ts |
Relocates in-memory webhook event stores. |
examples/transaction-management/with-transaction-webhooks/src/lib/types.ts |
Relocates webhook payload and stream types. |
examples/transaction-management/with-transaction-webhooks/src/lib/turnkey.ts |
Relocates balance and transaction helpers. |
examples/transaction-management/with-transaction-webhooks/src/lib/env.ts |
Relocates server environment accessors. |
examples/transaction-management/with-transaction-webhooks/src/components/TxStatusFeed.tsx |
Relocates the transaction-status feed. |
examples/transaction-management/with-transaction-webhooks/src/components/BalanceFeed.tsx |
Relocates the balance-event feed. |
examples/transaction-management/with-transaction-webhooks/src/app/webhook/tx-updates/route.ts |
Relocates the transaction webhook receiver. |
examples/transaction-management/with-transaction-webhooks/src/app/webhook/balance-updates/route.ts |
Relocates the balance webhook receiver. |
examples/transaction-management/with-transaction-webhooks/src/app/tk-tokens.css |
Carries design tokens into the renamed example. |
examples/transaction-management/with-transaction-webhooks/src/app/page.tsx |
Relocates the balance and webhook dashboard. |
examples/transaction-management/with-transaction-webhooks/src/app/layout.tsx |
Relocates the application layout and metadata. |
examples/transaction-management/with-transaction-webhooks/src/app/globals.css |
Carries dashboard styling into the renamed example. |
examples/transaction-management/with-transaction-webhooks/src/app/api/tx-send/route.ts |
Relocates the asset-transfer endpoint. |
examples/transaction-management/with-transaction-webhooks/src/app/api/tx-events/route.ts |
Relocates transaction-event streaming. |
examples/transaction-management/with-transaction-webhooks/src/app/api/eth-send/route.ts |
Preserves the transfer endpoint alias. |
examples/transaction-management/with-transaction-webhooks/src/app/api/balances/route.ts |
Relocates balance lookup handling. |
examples/transaction-management/with-transaction-webhooks/src/app/api/balance-events/route.ts |
Relocates balance-event streaming. |
examples/transaction-management/with-transaction-webhooks/README.md |
Updates the example name and setup path. |
examples/transaction-management/with-transaction-webhooks/public/turnkey-wordmark.svg |
Relocates the wordmark asset. |
examples/transaction-management/with-transaction-webhooks/public/turnkey-icon.svg |
Relocates the icon asset. |
examples/transaction-management/with-transaction-webhooks/package.json |
Supplies scripts and dependencies at the new location. |
examples/transaction-management/with-transaction-webhooks/next.config.ts |
Relocates Next.js configuration. |
examples/transaction-management/with-transaction-webhooks/next-env.d.ts |
Relocates Next.js type references. |
examples/transaction-management/with-transaction-webhooks/.env.example |
Relocates webhook and network configuration placeholders. |
examples/transaction-management/with-evm-paymaster/tsconfig.json |
Relocates TypeScript configuration. |
examples/transaction-management/with-evm-paymaster/src/turnkey.ts |
Relocates client and status-polling helpers. |
examples/transaction-management/with-evm-paymaster/src/tokens.ts |
Relocates Base USDC configuration. |
examples/transaction-management/with-evm-paymaster/src/index.ts |
Relocates the sponsored-transfer script. |
examples/transaction-management/with-evm-paymaster/README.md |
Carries setup documentation into the renamed example. |
examples/transaction-management/with-evm-paymaster/package.json |
Relocates package scripts and dependencies. |
examples/transaction-management/with-evm-paymaster/CHANGELOG.md |
Preserves package release history. |
examples/transaction-management/with-evm-paymaster/.env.local.example |
Relocates credential and RPC placeholders. |
examples/defi/with-swap/tsconfig.json |
Relocates TypeScript configuration. |
examples/defi/with-swap/src/turnkey.ts |
Relocates swap client and polling helpers. |
examples/defi/with-swap/src/index.ts |
Relocates the quote-and-execute swap script. |
examples/defi/with-swap/README.md |
Updates naming and setup path; removes the introductory beta notice. |
examples/defi/with-swap/package.json |
Relocates package scripts and dependencies. |
examples/defi/with-swap/.env.local.example |
Relocates swap configuration placeholders. |
examples/defi/with-earn/README.md |
Removes the introductory early-access notice. |
Review effort: Balanced
DeRauk
force-pushed
the
derauk/sdk-tx-mgmt-cleanup
branch
from
November 3, 2026 21:56
7448854 to
34ea5f4
Compare
ericvelazquez
approved these changes
Nov 4, 2026
truham
approved these changes
Nov 4, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary & Motivation
transactioninstead oftxwith-swapto matchwith-earnand other examples